home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1999 April / macformat-075.iso / Shareware Plus / Games / GameMaker 2.6.1 Demo / GameMaker v2.61 DEMO / GameMaker v2.61 DEMO.rsrc / TEXT_135_Card Buttons.txt < prev    next >
Encoding:
Text File  |  1999-01-06  |  2.2 KB  |  36 lines

  1. CARD BUTTONS
  2.  
  3. All cards have 6 buttons at the bottom of the card. You can choose from the following options for each button. GameMaker will perform the selected options when in Run Mode.
  4.  
  5. Button name
  6. Lets you name the button. Only named buttons are displayed in Run Mode and compiled applications.
  7.  
  8. Script
  9. Opens a window allowing you to write a script which will be executed when the card opens. Scripts are performed before any other options. See the "Scripting" help topic for information on the scripting language.
  10.  
  11. User Ask
  12. Lets you ask the user a question. A window will be displayed so you can type your question, the correct answer, and an optional card to go to if the user answers incorrectly. If no card is selected, an "Incorrect answer" alert will be displayed in Run Mode and the user will stay on the current card. If the user answers correctly, the program will continue with the original button script.
  13.  
  14. Play sound
  15. Use the pop-up menu to select a sound to be played when the button is clicked in Run Mode. Sounds must be in your game document as "snd " resources in order for them to be listed in the pop-up menu.
  16.  
  17. Try Sound
  18. Plays the currently selected sound. Use this to sample the sounds in the list.
  19.  
  20. Delay while sound plays
  21. If this box is checked, the game will pause while the selected sound is played. This is useful for long playing sounds. GameMaker will not execute the options below until the sound is finished playing.
  22.  
  23. Status bar
  24. This pop-up menu lets you choose whether to increase or decrease the status of the bar and lets you select a card to link to if the bar is empty. The pop-up menu only works if the status bar is enabled. See "Use status bar" in the "Go menu" help topic for information on enabling the status bar.
  25.  
  26. Go to card
  27. Type in a card name or number. When the button is clicked in Run Mode, GameMaker will jump to that card.
  28.  
  29. End game
  30. If this option is chosen, the game will end when the button is clicked in Run Mode.
  31.  
  32. Go to most recent card
  33. If this option is chosen, GameMaker will jump to the most recent card that was displayed when the button is clicked in Run Mode.
  34.  
  35. Do menu
  36. If this option is chosen, GameMaker will act as if the menu choice in the pop-up menu was selected when the button is clicked in Run Mode.